﻿using huqiang.Communication;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

public class DataProc
{
    public static void HandleMsg(KcpUser link, byte dataType, byte cmdType, UInt16 cmd, byte[] dat)
    {
        switch (dataType)
        {
            case EnvelopeType.ProtoBuf:
                huqiang.ProtoDataPro.ProtobufHandle.HandleMsg(link, cmdType, cmd, dat);
                break;
        }
    }
    public static void HandleError(KcpUser link, byte dataType, byte cmdType, int cmd, string str)
    {

    }
}